package cn.talkimages.web.admin.service.impl;

import java.util.List;

import cn.talkimages.web.admin.dao.BrandDAO;
import cn.talkimages.web.admin.service.BrandService;
import cn.talkimages.web.beans.BrandBean;

public class BrandServiceImpl implements BrandService {

	private BrandDAO brandDAO;

	/**
	 * 取得所有品牌信息
	 * 
	 * @return List<BrandBean>
	 * @throws Exception
	 */
	public List<BrandBean> getBrands() throws Exception {

		return brandDAO.selectBrands();
	}

	public BrandDAO getBrandDAO() {
		return brandDAO;
	}

	public void setBrandDAO(BrandDAO brandDAO) {
		this.brandDAO = brandDAO;
	}

}
